PATHMac OS 8 and 9 Developer Documentation > Files > Folder Manager >

Folder Manager Reference


Folder Descriptor Flag Constants

The FolderDescFlags enumeration defines masks your application can use in the AddFolderDescriptor function and the FolderDesc structure to specify various attributes of a folder. All other flag bits are reserved for future use. The FolderDescFlags constants are supported under Mac OS 8 and later.

You may set any combination of the following bits:

enum {
    kCreateFolderAtBoot         = 0x00000002,
    kFolderCreatedInvisible     = 0x00000004,
    kFolderCreatedNameLocked    = 0x00000008
};
typedef UInt32 FolderDescFlags;

Constant descriptions

kCreateFolderAtBoot
If the bit specified by this mask is set, the folder is created during startup if needed.
kFolderCreatedInvisible
If the bit specified by this mask is set, the folder created is invisible.
kFolderCreatedNameLocked
If the bit specified by this mask is set, the name of the folder is locked when the folder is created.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)